package com.example.apple_starter.service;

abstract public class Builder {
    protected AppleService apple = new AppleService();

    /**
     * 创建产品
     *
     * @return
     */

    abstract void BuilderRedAppleA(String name, float[] rangeForBig, float[] rangeForPrice, String color);

    abstract void BuilderRedAppleA(String name, float[] rangeForBig, float[] rangeForPrice);

    protected AppleService getApple() {

        return apple;
    }
}
